package com.bootdo.clouddo.dao.article;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.bootdo.clouddo.dao.BaseMapper;
import com.bootdo.clouddo.domain.article.ArticleDO;

@Mapper
public interface ArticleDao extends BaseMapper<ArticleDO>{
	
	List<ArticleDO> find(@Param("whereStr") String whereStr, @Param("orderField") String orderField, @Param("order") String order, RowBounds rowBounds);
	
	Map<String, ?> countByUser(@Param("uid")String uid);
	
}
